<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
        <meta name="format-detection" content="telephone=no"/>    
        <title>社文客服端</title>
        
        <link rel="stylesheet" type="text/css" href="../static/css/easyui.css"/>
        <link rel="stylesheet" type="text/css" href="../static/css/icon.css"/>
        <script src="../static/js/jquery-1.8.3.min.js"></script>
        <script src="../static/js/easyui.min.js"></script>
        <script src="../static/js/easyui-lang-cn.js"></script>
        <script src="../static/js/framework.js"></script>
        <script src="../static/js/service.js"></script>
	 <style>
     img{ border:none}
    </style>     
    </head>
    <script language="javascript" type="text/javascript">
	var g_login_id = "{{.login_id}}";
	var g_account = "{{.account}}";
	$(window).unload(function(){ 
		logout(g_login_id,0);
	}); 		
	$('open_msg_link').hide();
    setTimeout(function () { 
       getLoginStatus(g_account,g_login_id,parseLoginStatus );
    }, 5000);		
	</script>
    <body class="easyui-layout" >
        <!--头部-->
        <!--addMainTab('总览', 'http://192.168.101.11/system/status', '', true);-->
        <div data-options="region:'north',border:false" style="height:50px;background:#CEF;padding:10px">
            <div class="easyui-layout" data-options="fit:true" style="background:#CEF;">
                <div data-options="region:'west',border:false" style="width:130px;background:#CEF;">
                    <a href="http://www.shewentm.com/"><img src="http://www.shewentm.com/images/sw_index/sw_new_logo.png" alt="社文科技" title="社文科技" name="shewen_logo" id="shewen_logo" width="100" height="30" />
                    </a>                
                </div>
                <div data-options="region:'center',border:false"  style="background:#CEF;">
                    <div style="text-align:center; font-size:24px">社文客服人员系统</div>
                </div>
                <div data-options="region:'east',border:false" style="width:200px;height:50px;background:#CEF;">
                <a href="#" id="open_msg_link" target="_blank"></a>
                    <a href="#" >{{.name}}({{.account}})您好</a>
                    &nbsp;&nbsp;
                    <a href="/service/?act=logout&login_id={{.login_id}}&mode=1">退出</a>
                </div>
            </div>
        </div>
        <!--导航-->
        <div data-options="region:'west',split:true,title:'菜单选项'" style="width:200px">
            <div class="easyui-accordion" data-options="fit:true,border:false">
                <div title="系统控制台" style="padding:10px">
                    <p style="display:true"><a class="easyui-linkbutton" onclick="addMainTab('密码修改', '/service/?act=chpwdview&login_id={{.login_id}}', '', true)">密码修改</a></p>
                </div>
                <div title="客户接待" style="padding:10px">
                    <p style="display:true"><a class="easyui-linkbutton" onclick="offlineMsg_m( '{{.login_id}}' )">留言管理</a></p>
                </div>
                <div title="客户管理" style="padding:10px;">
                    <p style="display:true"><a class="easyui-linkbutton" onclick="manager_customer( '{{.login_id}}' )">客户管理</a></p>                
                </div>
            </div>
        </div>
        <!--朋友列表-->
        <div data-options="region:'east',split:true,title:'常用列表'" style="width:200px">
             <div class="easyui-accordion" data-options="fit:true,border:false">
                <div title="会话列表"   data-options="href: '/service/?act=gettaskview&login_id={{.login_id}}',selected:true" style="padding:10px;" >
                </div>
                <div title="同事列表"  data-options="href:'/suser/?act=listuserview&login_id={{.login_id}}',selected:false" style="padding:10px;">
                </div>    
            </div>              
        </div>
        <!--底部-->
        <div data-options="region:'south',border:false" style="height:40px;background:#CCF;padding:10px;">
            <div class="easyui-layout" data-options="fit:true" style="background:#CCF;">
                <div data-options="region:'west',border:false" style="width:400px;background:#CCF;" >
                </div>
                <div data-options="region:'center',border:false"  style="background:#CCF;" >
                    <div style="text-align:center; font-size:16px">版权所有&copy;北京社文科技有限公司 2013-2016</div>
                </div>                      
                <div data-options="region:'east',border:false" style="width:400px;background:#CCF;"  >
                </div>
            </div>
        </div>
        <!--正文-->
        <div data-options="region:'center'">
            <div class="easyui-tabs" id="main-tab-bar" data-options="fit:true,border:false,plain:true"></div>
        </div>
        <!--弹框-->
    </body>
</html>